from django.contrib import admin

import app01.models
from app01.models import Book
# Register your models here.
class BookAdmin(admin.ModelAdmin):
    #在顶部增加搜索栏，支持模糊搜索
    list_display = ('title','price','publish','pub_date')

admin.site.register(Book,BookAdmin)